﻿using SupplierProductSys.IRepository.Base;
using SupplierProductSys.IServices;
using SupplierProductSys.Model.Models;
using SupplierProductSys.Services.BASE;

namespace SupplierProductSys.Services
{
    public class AdvertisementServices : BaseServices<Advertisement>, IAdvertisementServices
    {
        private readonly IBaseRepository<Advertisement> _advertisementRepository;

        public AdvertisementServices(IBaseRepository<Advertisement> advertisementRepository)
        {
            _advertisementRepository = advertisementRepository;
            _baseRepository = advertisementRepository;
        }

        public void ReturnExp()
        {
            int a = 1;
            int b = 0;
            int c = a / b;
        }
    }
}
